package com.jhh.pay.center.service.cloud.message;

import lombok.Getter;
import lombok.Setter;

/**
 * @author tangxd
 * @Description: TODO
 * @date 2017/12/19
 */
@Getter
@Setter
public class QueryResult<T> {
    public QueryResult(boolean success, String msg, T data) {
        this.data = data;
        this.msg = msg;
        this.success = success;
    }

    public QueryResult() {
    }

    private boolean success;
    private String msg;
    private T data;
}
